package com.zhengqing.design.action.state._01;

/**
 * <p> 带有某个状态的类 </p>
 *
 * @author zhengqingya
 * @description
 * @date 2022/12/22 11:33
 */
public class Context {
    private State state;

    public Context() {
        this.state = null;
    }

    public void setState(State state) {
        this.state = state;
    }

    public State getState() {
        return this.state;
    }
}